const express = require('express');
const router = express.Router();

//导入用户路由处理函数对应模块
const collected_handler = require('../router_handler/collected')

//获取收藏
router.get('/get_collected',collected_handler.get_collected);

//收藏
router.get('/collected',collected_handler.collected);

//取消收藏
router.get('/del_collected',collected_handler.del_collected);

//后台获取所有收藏
router.get('/all_c',collected_handler.all_c);

//后台搜索收藏id
router.get('/hsearch_col',collected_handler.hsearch_col);

//后台改变关系状态
router.get('/hchange_col',collected_handler.hchange_col);

module.exports=router;